package com.example.shop_2207.database

import androidx.room.Database
import androidx.room.RoomDatabase
import com.example.shop_2207.entity.CarEntity
import com.example.shop_2207.entity.HistoryEntity
import com.example.shop_2207.entity.UserEntity

@Database(entities = [UserEntity::class,HistoryEntity::class,CarEntity::class], version = 1, exportSchema = false)
abstract class MyDatabase:RoomDatabase() {
    abstract fun getUserDao():UserDao
    abstract fun getHisDao():HistoryDao
    abstract fun getOrderDao():OrderDao
}